/**
 * Created by yhz on 2015/7/7.
 */

var addressConfig = [
    {
        "name": "我的收货地址列表(GET)",
        "service": "address",
        "method": "index"
    },
    {
        "name": "添加收货地址(POST)",
        "service": "address",
        "method": "add",
        "params": {
            "region_id":"城市的id",
            "region_name": "城市名称",
            "address": "详细地址",
            "consignee": "收货人姓名",
            "phone_mob": "手机号"
        }
    },
    {
        "name": "编辑收货地址(POST)",
        "service": "address",
        "method": "edit",
        "params": {
            "addr_id":"收货地址的id",
            "region_id":"城市的id",
            "region_name": "城市名称",
            "address": "详细地址",
            "consignee": "收货人姓名",
            "phone_mob": "手机号"
        }
    },
    {
        "name": "删除收货地址(POST)",
        "service": "address",
        "method": "drop",
        "params": {
            "addr_id":"收货地址的id"
        }
    },
    {
        "name": "设置或取消默认收货地址(POST)",
        "service": "address",
        "method": "defaultaddress",
        "params": {
            "addr_id":"收货地址的id",
            "state":"设置默认状态，1或0"
        }
    }

];